CxGrpTree Properties

The CxGrpTree object contains the following properties:

Property

Type

Read Only Description

Attributes

String

No

Specifies the group attributes to be displayed.

ContextMenuXml

String

No

ContextMenuXml identifies an XML string that defines the contents and Event IDs for the object’s custom context menu. See Custom Context Menus for more information about configuring custom menus for ActiveX Controls.

ActiveX Control Example

The following example includes one new menu item (New Item).

Copy

ContextMenuXML for Event Summary Control

<CustomContextMenu>
    <items>
        <ContextMenuDef>
            <itemsHidden/>
            <items>
                    <MenuItem Disable1="false" Disable2="false" Disable3="false" Description="New Context Menu Item (at bottom)" EventID="NEWID"/>
            </items>
        </ContextMenuDef>
    </items>
</CustomContextMenu>

CAS View Control Example

The CAS View Control includes additional options to hide default menu items. The following example includes one new menu item (New Item) and one hidden item (Suppress…). See CAS View Control.

Copy
ContextMenuXML for CAS View Control
<CustomContextMenu>
    <items>
        <ContextMenuDef>
            <itemsHidden>
                <DefaultMenuItem MenuId="1021" Desc="Suppress..." Type="0"/>
            </itemsHidden>
            <items>
                <MenuItem Disable1="true" Disable2="false" Disable3="false" Description="New Item" EventID="NEWID"/>
            </items>
        </ContextMenuDef>
    </items>
</CustomContextMenu>

RootNodeFilter

String

No

Specifies the root node filter string. Use the OCX Properties dialog box to define. In the OCX Properties dialog box, click to select.

ShowNodeIcons

Boolean

No

Enables or disables the node icons.

SiteService

String

No

[SiteService] identifies the CVS, Facility Service, or Group Service for the settings. The format for the value is Site.Service.

If this field is blank, the Site.Service specified for TheView is used. If Site.Service is defined for both TheView and the object, the value specified for the object is used.